﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;


interface AnnotationType
{
    int GetID();
    int GetX();
    int GetY();
    int GetWidth();
    int GetHeight();
    string GetNume();
    string GetTitle();
    string GetText();
    int GetMinWidth();
    int GetMinHeight();
    void SetX(int x);
    void SetY(int y);
    void SetWidth(int w);
    void SetHeight(int h);
    void SetTitle(string title);
    void SetText(string text);
    void SetNume(string nume);

    void UpdateScroll(int hScrollBar, int vScrollBar);
    void Draw(Graphics g, bool hover);

    void SetEditing(bool value);
    bool IsEditing();

    void Move(int deltaX, int deltaY);
    void Resize(int deltaX, int deltaY);

    bool IsInMiddle(int x, int y);
    bool IsInTopBorder(int x, int y);
    bool IsInBottomBorder(int x, int y);
    bool IsInLeftBorder(int x, int y);
    bool IsInRightBorder(int x, int y);
}

